﻿<!DOCTYPE html>
<html class="x-admin-sm">

<head>
<meta charset="UTF-8">
<title>欢迎页面</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
{include file="public/style" /}
<script type="text/javascript">
 $(document).ready(function(){
	layui.use('form', function() {
		var form = layui.form; //只有执行了这一步，部分表单元素才会自动修饰成功

		//……

		//但是，如果你的HTML是动态生成的，自动渲染就会失效
		//因此你需要在相应的地方，执行下述方法来手动渲染，跟这类似的还有 element.init();
		form.render();
	});
 });
</script>
</head>
<body>
	<div class="layui-fluid">
		<div class="layui-row">
			<form class="layui-form" role="form" method="post" id="form-article-add" action="">
				<input type="hidden" name="id" value="{$Request.param.id}">
				<div class="layui-form-item">
					<label for="username" class="layui-form-label"> <span class="x-red">*</span>所属等级：</label>
					<div class="layui-input-inline">
					     <select name="role_id">
					        <option value="0">无</option>
					        {volist name="role" id="vo"}
					         <option value="{$vo.id}" {eq name="info.role_id" value="$vo.id"}selected="selected"{/eq}>{$vo.title}</option>
					        {/volist}
					     </select>
					</div>
				</div>	
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">账号：</label>
					<div class="layui-input-inline layui-form-mid">
						{$info.user_name}
					</div>
				</div>							
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">邮箱：</label>
					<div class="layui-input-inline layui-form-mid">
						{$info.email}
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">登录密码：</label>
					<div class="layui-input-inline layui-form-mid">
						{$info.password}
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">交易密码：</label>
					<div class="layui-input-inline layui-form-mid">
						{$info.paypwd}
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">地区：</label>
					<div class="layui-input-inline layui-form-mid">
						  +{$info.country}
					</div>
				</div>				
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">手机号：</label>
					<div class="layui-input-inline layui-form-mid">{$info.phone_mob}</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">Wallet Type：</label>
					<div class="layui-input-inline layui-form-mid">
									<select name="wallet_type" id="walletType" class='input-text'>
										<option value="1" {eq name="info.wallet_type" value="1"}selected="selected"{/eq}>TRC20</option>
										<option value="2" {eq name="info.wallet_type" value="2"}selected="selected"{/eq}>ERC20</option>
									</select>					
					</div>
				</div>								
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">USDT Wallet：</label>
					<div class="layui-input-block"><input type="text" class="layui-input" name="usdt_wallet" value="{$info.usdt_wallet}"></div>
				</div>								
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">密匙：</label>
					<div class="layui-input-inline"><input type="text" class="layui-input" name="key" value="{$info.key}"></div>
				</div>								
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">可用余额：</label>
					<div class="layui-input-inline"><input type="text" name="money" value="{$info.money}" class="layui-input"></div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">正在提现：</label>
					<div class="layui-input-inline layui-form-mid">{$info.lock_money}</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">推荐人ID：</label>
					<div class="layui-input-inline layui-form-mid">
						{$info.pid}
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label"> <span class="x-red">*</span>推荐人ID：</label>

					<div class="layui-input-inline">
						<input class="layui-input" placeholder="" type="text" name="pid" value="{$info.pid}">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">注册时间：</label>
					<div class="layui-input-inline layui-form-mid">
						{$info.reg_time|date='Y-m-d H:i:s'}
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">最后登录时间：</label>
					<div class="layui-input-inline layui-form-mid">
						{$info.last_login|date='Y-m-d H:i:s'}
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">登录IP：</label>
					<div class="layui-input-inline layui-form-mid">
						{$info.last_ip}
					</div>
				</div>				
				<div class="layui-form-item">
					<label for="username" class="layui-form-label"> <span class="x-red">*</span>状态：
					</label>
					<div class="layui-input-block">
					      <input type="radio" name="status" value="1" title="激活" {eq name="info.status" value="1"}checked=""{/eq}>
					      <input type="radio" name="status" value="0" title="冻结" {eq name="info.status" value="0"}checked=""{/eq}>
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">冻结原因：</label>
					<div class="layui-input-block"><input type="text" name="frozen_remark" value="{$info.frozen_remark}" placeholder="状态为冻结时有效" class="layui-input"></div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label"> <span class="x-red">*</span>是否内部号：
					</label>
					<div class="layui-input-block">
					      <input type="radio" name="isinside" value="0" title="否" {empty name="info.isinside"}checked=""{/empty}{eq name="info.isinside" value="0"}checked=""{/eq}>
					      <input type="radio" name="isinside" value="1" title="是" {eq name="info.isinside" value="1"}checked=""{/eq}>					      
					</div>
				</div>
				<div class="layui-form-item">
					<label for="L_repass" class="layui-form-label"> </label>
					<button class="layui-btn" lay-filter="add" lay-submit=""> 保 存 </button>
				</div>
			</form>
		</div>
	</div>
</body>
</html>
